<template>
  <div class="nav">
    <router-view></router-view>
    <ul>
      <li>
        <router-link :to="{ path: '/shouye' }">首页</router-link>
      </li>
      <li>
        <router-link :to="{ path: '/hemaxiaozen' }">盒马小镇</router-link>
      </li>
      <li>
        <router-link :to="{ path: 'chishenma' }">吃什么</router-link>
      </li>
      <li>
        <router-link :to="{ path: 'car' }">购物车</router-link>
      </li>
      <li>
        <router-link :to="{ path: 'wode' }">我的</router-link>
      </li>
    </ul>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
// body,html,div{
//   height: 100%;
// }
.nav {

  ul {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 35px;
  }

}
</style>